package com.canbot.u05.activity.agenda.dao;

import java.util.List;


/**
 * @author yinxiaowei
 * @date 2019/5/31
 * 工作日程是按照每天的日期来存储的，这个表存日期，
 */
public class AgendaDateTable {
    private Long id;

    /**
     * 日期(格式 年-月-日)
     */
    private String date;

    public int getWeek() {
        return week;
    }

    public void setWeek(int week) {
        this.week = week;
    }

    /**
     * 星期，如果选择的星期，用这个字段（1---7）
     */
    private int week = -1;

    /**
     * 当前日期所有的议程
     */
    private List<AgendaDataTable> agendaDataTableList;


    public AgendaDateTable() {
    }

    public AgendaDateTable(Long id, String date, List<AgendaDataTable> agendaDataTableList) {
        this.id = id;
        this.date = date;
        this.agendaDataTableList = agendaDataTableList;
    }

    public AgendaDateTable(String date, List<AgendaDataTable> agendaDataTableList) {
        this.date = date;
        this.agendaDataTableList = agendaDataTableList;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public List<AgendaDataTable> getAgendaDataTableList() {
        return agendaDataTableList;
    }

    public void setAgendaDataTableList(List<AgendaDataTable> agendaDataTableList) {
        this.agendaDataTableList = agendaDataTableList;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "AgendaDateTable{" +
                "id=" + id +
                ", date=" + date +
                ", week=" + week +
                ", agendaDataTableList=" + agendaDataTableList +
                '}';
    }
}
